package com.yfp.client.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 储值活动详情
 *
 * @TableName stored_value_activity_detail
 */
@TableName(value = "stored_value_activity_detail")
@Data
public class StoredValueActivityDetail implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 储值活动ID
     */
    private Long activityId;

    /**
     * 类型1首充奖励2储值
     */
    private Integer type;

    /**
     * 充值金额
     */
    private BigDecimal money;

    /**
     * 赠送储值金
     */
    private BigDecimal giftGold;

    /**
     * 赠送储值金比率
     */
    private BigDecimal giftRatio;

    /**
     * 赠送优惠券ID
     */
    private Long marCouponId;

    /**
     * 赠送优惠券张数
     */
    private Long marCouponCount;

    /**
     * 活动标签
     */
    private String activityTag;

    /**
     * 额外储值标签
     */
    private String extraStoredTag;
}